'''
Created on 2010-10-16

@author: chin
'''
from django import template

register = template.Library()

@register.filter(name='changeline')
def changeline(value):
    return value.replace('\n', '<br/>')
